package icu.cqcai.xinsi.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 阿里云OSS配置类
 */
@Configuration
@ConfigurationProperties(prefix = "aliyun.oss")
public class OssConfig {
    
    private String endpoint = "oss-cn-hangzhou.aliyuncs.com";
    private String accessKeyId = "YOUR_ACCESS_KEY_ID";
    private String accessKeySecret = "YOUR_ACCESS_KEY_SECRET";
    private String bucketName = "xinsi-resume-bucket";
    //private String domain = "https://xinsi-resume-bucket.oss-cn-hangzhou.aliyuncs.com";

    // Getters and Setters
    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    /*public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }*/
} 